Save Command output to file